package com.ruoyi.admin.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 快定订单对象 ist_order
 * 
 * @author ruoyi
 * @date 2021-01-25
 */
public class IstOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 订单id */
    @Excel(name = "订单id")
    private String oirderId;

    /** 描述 */
    @Excel(name = "描述")
    private String desctxt;

    /** 创建记录时间 */
    @Excel(name = "创建记录时间")
    private Integer initTime;

    /** 记录上次修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录上次修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setOirderId(String oirderId) 
    {
        this.oirderId = oirderId;
    }

    public String getOirderId() 
    {
        return oirderId;
    }
    public void setDesctxt(String desctxt) 
    {
        this.desctxt = desctxt;
    }

    public String getDesctxt() 
    {
        return desctxt;
    }
    public void setInitTime(Integer initTime) 
    {
        this.initTime = initTime;
    }

    public Integer getInitTime() 
    {
        return initTime;
    }
    public void setLastTime(Date lastTime) 
    {
        this.lastTime = lastTime;
    }

    public Date getLastTime() 
    {
        return lastTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("oirderId", getOirderId())
            .append("desctxt", getDesctxt())
            .append("initTime", getInitTime())
            .append("lastTime", getLastTime())
            .toString();
    }
}
